package com.ddmmo.exhibition.localBOSS.examination.entity.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@TableName("ks_questions")
public class KsQuestionsPO {

    @ApiModelProperty(value = "题目ID")
    @TableField("id")
    private String id;

    @ApiModelProperty(value = "题目文本")
    @TableField("question_text")
    private String questionText;

    @ApiModelProperty(value = "题目类型 (1-单选;2-多选;3-判断)")
    @TableField("question_type")
    private Integer questionType;

    @ApiModelProperty(value = "选项，使用JSON格式存储")
    @TableField("options")
    private String options;

    @ApiModelProperty(value = "错误提示")
    @TableField("error_prompt")
    private String errorPrompt;

    @ApiModelProperty(value = "正确答案")
    @TableField("correct_answer")
    private String correctAnswer;

    @ApiModelProperty(value = "选题类型风格 (1-安全工器具;2-安全作业;3-带电作业;)")
    @TableField("question_fashion_type")
    private Integer questionFashionType;

}
